import com.opencsv.exceptions.CsvException;
import deal.SendJsonToHdfs;
import deal2.MergeCSVFiles;
import deal2.SplitCsvByTime;

public class Run {
    public static void main(String[] args) throws CsvException {
        SplitCsvByTime.sbt("C:\\Users\\咚咚咚豆\\Desktop\\ETC\\outSZ.csv", 3);
        SplitCsvByTime.sbt("C:\\Users\\咚咚咚豆\\Desktop\\ETC\\inSZ.csv", 5);
        MergeCSVFiles.merge("C:\\Users\\咚咚咚豆\\Desktop\\ETC\\inSZ1.csv", "C:\\Users\\咚咚咚豆\\Desktop\\ETC\\outSZ1.csv", "C:\\Users\\咚咚咚豆\\Desktop\\ETC\\hdfs\\now.csv");
        MergeCSVFiles.merge("C:\\Users\\咚咚咚豆\\Desktop\\ETC\\inSZ2.csv", "C:\\Users\\咚咚咚豆\\Desktop\\ETC\\outSZ2.csv", "C:\\Users\\咚咚咚豆\\Desktop\\ETC\\hdfs\\future.csv");
    }
}
